package com.csu.mining.activity;

import android.os.Bundle;

import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import com.csu.mining.R;
import com.csu.mining.adapters.MiningPicAdapter;

public class PicListActivity extends BaseActivity {

    RecyclerView mRcView;
    MiningPicAdapter miningPicAdapter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_pic_list);
        initNavBar(true,"图片");
        initBottonBar("pic");
        mRcView = fd(R.id.ry_pic);
        miningPicAdapter = new MiningPicAdapter(this);
        mRcView.setLayoutManager(new GridLayoutManager(this,2));
        mRcView.setAdapter(miningPicAdapter);
    }
}
